﻿<?php
/**
 * @version		$Id: view.html.php 20196 2011-08-06 00:00:00Z jerome $
 * @package		Vsb.Site
 * @subpackage	com_geotrails
 * @copyright	Copyright (C) 2011 Verbier Technologies Sàrl, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later
 */

// No direct access to this file
defined('_JEXEC') or die('Restricted access');
 
jimport('joomla.application.component.view');
 
/**
 * HTML View class for the WebTv Component
 *
 * @package		Vsb.Site
 * @subpackage	com_geotrails
 * @since 1.7
 *
 */
 
class GeoTrailsViewGeoTrails extends JView {

	function display($tpl = null) {
	
		// Set the toolbar
		$this->addToolBar();

		// Display the view
		parent::display($tpl);
	}
	
	/**
	 * Setting the toolbar
	 */
	protected function addToolBar() {
		JToolBarHelper::title(JText::_('COM_GEOTRAILS_GEOTRAILS_VIEW_TITLE'), 'geotrails');
		JToolBarHelper::preferences('com_geotrails');
	}	
}